package com.qf.service;

import com.qf.entity.Workorder;

import java.util.List;

/**
 * @author lenovo
 * @version V1.0
 * @Date 2021/10/4 17:40
 */
public interface WorkorderService {

    /**
     * 添加工单
     * @param workorder
     */
    void add(Workorder workorder);

    /**
     * 根据项目id查询所有工单
     * @param pid
     * @return
     */
    List<Workorder> findAllByPid(Integer pid);

}
